package com.luo.mapper;

import com.luo.pojo.User;
import org.apache.ibatis.annotations.Mapper;

/**
* @author shang
* @description 针对表【user(用户表)】的数据库操作Mapper
* @createDate 2025-05-16 09:53:33
* @Entity com.luo.pojo.User
*/
@Mapper
public interface UserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User login(User user);
}
